﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using InternetModel;
using InternetDAL;
using System.Data;

namespace InternetBLL
{
 public   class CargoBLL
    {
        CargoManage manage = new CargoManage();
        /// <summary>
        /// 货物类型
        /// </summary>
        /// <returns></returns>
        public DataTable GetCargo()
        {
            return manage.GetCargo();
        }
        /// <summary>
        /// 货物存储
        /// </summary>
        /// <param name="news"></param>
        /// <returns></returns>
        public int AddCargo(Cargo news)
        {
            return manage.AddCargo(news);
           
        }
    }
}
